
<!DOCTYPE html>
<html>

<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>H+ 后台主题UI框架 - 空白页</title>
    <meta name="keywords" content="">
    <meta name="description" content="">

   <link rel="shortcut icon" href="__STATIC__/layout/favicon.ico">
     <link href="__STATIC__/layout/css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    <link href="__STATIC__/layout/css/font-awesome.css?v=4.4.0" rel="stylesheet">
     <!-- jqgrid-->
    <link href="__STATIC__/layout/css/animate.css" rel="stylesheet">
    <link href="__STATIC__/layout/css/style.css?v=4.1.0" rel="stylesheet">
    <link href="__STATIC__/layout/css/plugins/sweetalert/sweetalert.css" rel="stylesheet">
    <link href="__STATIC__/layout/css/gyq.css" rel="stylesheet">
    <link rel="stylesheet" href="__STATIC__/layout/css/demo.css" type="text/css">
    <style>
            .checkbox-inline input[type=checkbox],.radio-inline input[type=radio] {
    margin-top: 4px;
}
    </style>
</head>

<body style="color:#333;padding:3px;">
    <!-- 标题 -->
    <div class="page-heade">
        <h2 class="title_color text-center">城市营销费用报表</h2>
    </div>
    <!-- 标题 -->
    <div>
    <form action=""  class="form-inline">
      <table class="tab-content table-bordered  table" border="1" style="margin-bottom:1px">
          <tr>
          <td style="min-width:120px;width: 120px " class="text-center">财年：</td>
          <td>
            <select name="" id="" class="select form-control">
                 <option value="0">请选择</option>
                 <option value="1">2032</option>
                 <option value="2">2031</option>
                 <option value="3">2030</option>
                 <option value="4">2029</option>
                 <option value="5">2028</option>
                 <option value="6">2027</option>
                 <option value="7">2026</option>
                 <option value="8">2025</option>
                 <option value="9">2024</option>
                 <option value="10">2023</option>
                 <option value="11">2022</option>
                 <option value="12">2021</option>
                 <option value="13">2020</option>
                 <option value="14">2019</option>
                 <option value="15">2018</option>
                 <option value="16">2017</option>
                 <option value="17">2016</option>
                 <option value="18">2015</option>
          </select>
			<span class="lr_5"></span>
            <div class="form-group">
               <label class="radio-inline" for="formalFx">
                    <input type="radio" checked name="fx_kind" id="formalFx" value="formalFx">常规分析
               </label>
               <label class="radio-inline" for="kind_zb">
                 <input type="radio" name="fx_kind" id="kind_zb" value="kind_zb">各费用科目占比
               </label>
                      
            </div>
			</td>
      </tr>
      <tr>
         <td class="text-center">分区：</td>
		 <td>
			<select name="" id="" class="select form-control">
				<option value="0">请选择</option>
			</select>
		 </td>
      </tr>
       <tr>
         <td class="text-center">省份：</td>
		 <td>
			<select name="" id="" class="select form-control">
				<option value="0">请选择</option>
			</select>
		 </td>
      </tr>
      <tr id="kind_lx" style="display: none;">
        <td class="text-center">费用科目：</td>
         <td>
            <div class="form-group">
                  <span class="checkDiv">
                    <label class="checkbox-inline" for="dtf">
                         <input type="checkbox" name="items1"  id="dtf" value="堆头费">堆头费
                    </label>
                  </span>
                    <span class="checkDiv">
                        <label class="checkbox-inline" for="dj">
                         <input type="checkbox" name="items1" id="dj" value="端架">端架
                    </label>
                  </span>
              
                <span class="checkDiv">
                     <label class="checkbox-inline" for="dmf">
                  <input type="checkbox" name="items1" id="dmf" value="DM费">DM费
                </label>
                </span>
              
                 <span class="checkDiv">
                     <label class="checkbox-inline" for="dggz">
                  <input type="checkbox" name="items1" id="dggz" value="导购工资">导购工资
                </label>
                 </span>
               
                 <span class="checkDiv">
                        <label class="checkbox-inline" for="tmf">
                  <input type="checkbox" name="items1" id="tmf" value="条码费">条码费
                </label>
                 </span>
                
                 <span class="checkDiv">
                       <label class="checkbox-inline" for="zdac">
                  <input type="checkbox" name="items1" id="zdac" value="主动活动费用">主动活动费用
                </label>
                 </span>
                
                 <span class="checkDiv">
                      <label class="checkbox-inline" for="htfl">
                  <input type="checkbox" name="items1" id="htfl" value="合同返利">合同返利
                </label>
                 </span><br>
             
                 <span class="checkDiv">
                       <label class="checkbox-inline" for="txf">
                  <input type="checkbox" name="items1" id="txf" value="通信费">通信费
                </label>
                 </span> 
                
                
                 <span class="checkDiv">
                         <label class="checkbox-inline" for="jtf">
                  <input type="checkbox" name="items1" id="jtf" value="交通费">交通费
                </label>
                 </span>
                
                 <span class="checkDiv">
                          <label class="checkbox-inline" for="cxygz">
                  <input type="checkbox" name="items1" id="cxygz" value="促销员工资">促销员工资
                </label>
                 </span>
            
                 <span class="checkDiv">
                     <label class="checkbox-inline" for="xpkff">
                   <input type="checkbox" name="items1" id="xpkff" value="新品开发费">新品开发费
                </label>
                 </span>
               
                 <span class="checkDiv">
                         <label class="checkbox-inline" for="xswl_p">
                   <input type="checkbox" name="items1" id="xswl_p" value="销售物料POSM">销售物料POSM
                </label>
                 </span>
                  
                 <span class="checkDiv">
                         <label class="checkbox-inline" for="xfzjk">
                   <input type="checkbox" name="items1" id="xfzjk" value="消费者价格折扣">消费者价格折扣
                </label>
                 </span>
                  
                 <span class="checkDiv">
                      <label class="checkbox-inline" for="qdjgzk">
                   <input type="checkbox" name="items1" id="qdjgzk" value="渠道价格折扣费">渠道价格折扣费
                </label>
                 </span>
                    <br>
              
                 <span class="checkDiv">
                       <label class="checkbox-inline" for="dyf">
                   <input type="checkbox" name="items1" id="dyf" value="调研费">调研费
                </label>
                 </span>
               
                 <span class="checkDiv">
                      <label class="checkbox-inline" for="lyf">
                   <input type="checkbox" name="items1" id="lyf" value="路演费">路演费
                </label>
                 </span>
                  
                 <span class="checkDiv">
                       <label class="checkbox-inline" for="mtadf">
                   <input type="checkbox" name="items1" id="mtadf" value="媒体广告费">媒体广告费
                </label>
                 </span>
                 <button class="btn-info btn" type="button" id="checkAll1">全选</button>
                 <button class="btn-info btn" type="button" id="cancelCheckAll1">取消全选</button>
            </div>
          </td>
      </tr>
      </table>
   
     <div class="padding-10 text-center">
          <button class="btn btn-info query" type="button">查询</button>
     </div>
</form>
    </div>
    <!-- 全局js -->
    <script src="__STATIC__/layout/js/jquery.min.js?v=2.1.4"></script>
    <script src="__STATIC__/layout/js/bootstrap.min.js?v=3.3.6"></script>
    <!-- <script src="js/plugins/metisMenu/jquery.metisMenu.js"></script> -->
    <script src="__STATIC__/layout/js/plugins/slimscroll/jquery.slimscroll.min.js"></script>
     <script src="__STATIC__/layout/js/plugins/layer/laydate/laydate.js"></script>
      <script src="__STATIC__/layout/js/common.js"></script>
    <script>
       $(document).ready(function(){
            var $ObjectNum =$(".ObjectNum");
               toNum($ObjectNum);
             });

       /*常规分析 各费用占比*/
         $("input:radio[name=fx_kind]").click(function(){
              if($("#formalFx").prop("checked")!=true){
                 $("#kind_lx").show();
            }else{
              $("#kind_lx").hide();
            };
            });
        /*fenqu全选*/
           $("#checkAll").click(function(){
      
               $("[name=items]:checkbox").prop("checked",true);
           })
           /*fenqu取消全选*/
          $("#cancelCheckAll").click(function(){
            $("[name=items]:checkbox").each(function(){
            $(this).prop("checked",!$(this).prop("checked"))
             })
           
           })


           /*kind_lx全选*/
              $("#checkAll1").click(function(){
      
               $("[name=items1]:checkbox").prop("checked",true);
           })
           /*kind_lx取消全选*/
             $("#cancelCheckAll1").click(function(){
            $("[name=items1]:checkbox").each(function(){
            $(this).prop("checked",!$(this).prop("checked"))
             })
           
           })

             /*查询*/
             $(".query").click(function(){
            
                    if($('input[name=items]').prop("checked")!=true){
                      alert("请选择分区！")
                    }else if($('input[name=items]:checked').length<1){
                       alert("请选择费用科目！")
                    }else{
                        location.href="{:url('Other/fq_yx_costb_query')}"
                    }
              
                });
    </script>
</body>

</html>
